export interface AppState {
  isLoading: boolean;
  error: string | null;
  networkStatus: 'online' | 'offline';
  lastSync: string | null;
}

export interface AppContextType extends AppState {
  setLoading: (loading: boolean) => void;
  setError: (error: string | null) => void;
  setNetworkStatus: (status: 'online' | 'offline') => void;
  setLastSync: (date: string) => void;
  clearError: () => void;
} 